#ifndef BATTLEDIALOG_H
#define BATTLEDIALOG_H

#include "gamedialog.h"
#include "gs.h"

using namespace gs;

namespace gs{
class BattleDialog : public GameDialog
{
public:
    BattleDialog(GameDialogManager*, GameDialogBg*);
    QRectF boundingRect() const;
    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);
    BattleDialogTaoResult* getResultWindow(){return _batResult;}
    BattleDialogGhostCard* getGhostElement(){return _batCard;}
    BattleDialogButton* getButton(int index){return _buttons[index];}
    void exorGhost();
    int execDialog(GhostSlot*);
protected:
    BattleDialogGhostCard* _batCard;
    QList<BattleDialogButton*> _buttons;
    QList<BattleDialogTaoButton*> _taoButtons;
    BattleDialogGhostStatus* _batStatus;
    BattleDialogTaoResult* _batResult;
};
}

#endif // BATTLEDIALOG_H
